package com.lanswon.qzsmk.model;

import java.io.Serializable;
import java.util.Date;
/**
 * 业务流水表
 * @author sun
 *
 */
public class Business implements Serializable {
    /**
	 * 
	 */
	private static final long serialVersionUID = -2595973417728516967L;

	/** 业务编号*/
    private String businessNo;

    /** 卡控制号 */
    private Integer cardControlId;

    /** 客户编号 标准卡、记名衍生卡使用 */
    private String customerNo;

    /** 交易代码 */
    private String transCode;

    /** 批次号 批量办理时使用 */
    private String batchNo;

    /** 单位编号 批量办理时使用 */
    private String corpNo;

    /** 卡产品 */
    private String cardpCode;

    /** 代理人姓名 */
    private String agentName;

    /** 代理人联系电话 */
    private String agentPhone;

    /** 代理人证件类型 */
    private String agentPapertype;

    /** 代理人证件号码 */
    private String agentPaperNo;

    /** 业务授权人编号 */
    private String transAuthId;

    /** 业务授权人姓名 */
    private String transAuthName;

    /** 凭证编号 */
    private String certNo;

    /** 柜员号 */
    private String tellerNo;

    /** 交易日期 */
    private Date transDate;

    /** 流水状态 0.临时1.正常 2.撤销 3.冲正默认为1正常，目前暂时没有使用2撤销和3冲正的情况 */
    private String seqStatus;

    /** 轧帐标识 0，未过账1，已过账 默认为0未过账 */
    private String rptFlag;

    /** 轧帐日期 */
    private Date rptDate;

    /** 业务数量 */
    private Integer busiNum;

    /** 备注 */
    private String remark;
    
    private int flag;
    
    public int getFlag() {
		return flag;
	}

	public void setFlag(int flag) {
		this.flag = flag;
	}

	public String getBusinessNo() {
        return businessNo;
    }

    public void setBusinessNo(String businessNo) {
        this.businessNo = businessNo == null ? null : businessNo.trim();
    }

    public Integer getCardControlId() {
        return cardControlId;
    }

    public void setCardControlId(Integer cardControlId) {
        this.cardControlId = cardControlId;
    }

    public String getCustomerNo() {
        return customerNo;
    }

    public void setCustomerNo(String customerNo) {
        this.customerNo = customerNo == null ? null : customerNo.trim();
    }

    public String getTransCode() {
        return transCode;
    }

    public void setTransCode(String transCode) {
        this.transCode = transCode == null ? null : transCode.trim();
    }

    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo == null ? null : batchNo.trim();
    }

    public String getCorpNo() {
        return corpNo;
    }

    public void setCorpNo(String corpNo) {
        this.corpNo = corpNo == null ? null : corpNo.trim();
    }

    public String getCardpCode() {
        return cardpCode;
    }

    public void setCardpCode(String cardpCode) {
        this.cardpCode = cardpCode == null ? null : cardpCode.trim();
    }

    public String getAgentName() {
        return agentName;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName == null ? null : agentName.trim();
    }

    public String getAgentPhone() {
        return agentPhone;
    }

    public void setAgentPhone(String agentPhone) {
        this.agentPhone = agentPhone == null ? null : agentPhone.trim();
    }

    public String getAgentPapertype() {
        return agentPapertype;
    }

    public void setAgentPapertype(String agentPapertype) {
        this.agentPapertype = agentPapertype == null ? null : agentPapertype.trim();
    }

    public String getAgentPaperNo() {
        return agentPaperNo;
    }

    public void setAgentPaperNo(String agentPaperNo) {
        this.agentPaperNo = agentPaperNo == null ? null : agentPaperNo.trim();
    }

    public String getTransAuthId() {
        return transAuthId;
    }

    public void setTransAuthId(String transAuthId) {
        this.transAuthId = transAuthId == null ? null : transAuthId.trim();
    }

    public String getTransAuthName() {
        return transAuthName;
    }

    public void setTransAuthName(String transAuthName) {
        this.transAuthName = transAuthName == null ? null : transAuthName.trim();
    }

    public String getCertNo() {
        return certNo;
    }

    public void setCertNo(String certNo) {
        this.certNo = certNo == null ? null : certNo.trim();
    }

    public String getTellerNo() {
        return tellerNo;
    }

    public void setTellerNo(String tellerNo) {
        this.tellerNo = tellerNo == null ? null : tellerNo.trim();
    }

    public Date getTransDate() {
        return transDate;
    }

    public void setTransDate(Date transDate) {
        this.transDate = transDate;
    }

    public String getSeqStatus() {
        return seqStatus;
    }

    public void setSeqStatus(String seqStatus) {
        this.seqStatus = seqStatus == null ? null : seqStatus.trim();
    }

    public String getRptFlag() {
        return rptFlag;
    }

    public void setRptFlag(String rptFlag) {
        this.rptFlag = rptFlag == null ? null : rptFlag.trim();
    }

    public Date getRptDate() {
        return rptDate;
    }

    public void setRptDate(Date rptDate) {
        this.rptDate = rptDate;
    }

    public Integer getBusiNum() {
        return busiNum;
    }

    public void setBusiNum(Integer busiNum) {
        this.busiNum = busiNum;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", businessNo=").append(businessNo);
        sb.append(", cardControlId=").append(cardControlId);
        sb.append(", customerNo=").append(customerNo);
        sb.append(", transCode=").append(transCode);
        sb.append(", batchNo=").append(batchNo);
        sb.append(", corpNo=").append(corpNo);
        sb.append(", cardpCode=").append(cardpCode);
        sb.append(", agentName=").append(agentName);
        sb.append(", agentPhone=").append(agentPhone);
        sb.append(", agentPapertype=").append(agentPapertype);
        sb.append(", agentPaperNo=").append(agentPaperNo);
        sb.append(", transAuthId=").append(transAuthId);
        sb.append(", transAuthName=").append(transAuthName);
        sb.append(", certNo=").append(certNo);
        sb.append(", tellerNo=").append(tellerNo);
        sb.append(", transDate=").append(transDate);
        sb.append(", seqStatus=").append(seqStatus);
        sb.append(", rptFlag=").append(rptFlag);
        sb.append(", rptDate=").append(rptDate);
        sb.append(", busiNum=").append(busiNum);
        sb.append(", remark=").append(remark);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}